#pragma once
#include <windows.h>

#pragma comment(lib, "advapi32.lib")
#define SVCNAME (LPTSTR)TEXT("PicassoHost")

VOID SvcInstall(void);
VOID WINAPI SvcCtrlHandler(DWORD);
VOID WINAPI SvcMain(DWORD, LPTSTR *);
VOID ReportSvcStatus(DWORD, DWORD, DWORD);
VOID SvcInit(DWORD, LPTSTR *);
VOID SvcReportEvent(LPTSTR);
void DeletePreService();
DWORD WINAPI Worker(LPVOID lParam);